package com.cxx.purchasecharge.dal;

import org.springframework.transaction.annotation.Transactional;

import com.cxx.purchasecharge.core.model.persistence.Resource;
import com.cxx.purchasecharge.dal.common.GenericCRUDDao;

@Transactional
public interface ResourceDao extends GenericCRUDDao <Resource, Long>
{

    public Resource findById (long id);

    public Resource findByName (String name);

}
